package com.lsy.weizhi2.JsonObject;

import java.util.List;

/**
 * Created by 嗨哟 on 2017/4/17.
 */
public class ReplyList {

    /**
     * result : true
     * message :
     * error :
     * pageNo : 1
     * pageSize : 20
     * totalPages : 1
     * count : 2
     * totalElements : 2
     * list : [{"id":3,"orderId":2,"replyContent":null,"content":"在哪里？","replyUser":0,"status":0,"replyFloor":0,"createTime":"2017-05-03 16:10:43","updateTime":"2017-05-03 16:10:43","createUserId":5,"createUsername":"wz14937989564121697","updateUserId":5,"updateUsername":"wz14937989564121697","realName":"WH","avatar":8},{"id":4,"orderId":2,"replyContent":null,"content":"嘿嘿","replyUser":0,"status":0,"replyFloor":0,"createTime":"2017-05-03 18:21:23","updateTime":"2017-05-03 18:21:23","createUserId":5,"createUsername":"WH","updateUserId":5,"updateUsername":"WH","realName":"WH","avatar":8}]
     */

    private boolean result;
    private String message;
    private String error;
    private int pageNo;
    private int pageSize;
    private int totalPages;
    private int count;
    private int totalElements;
    private List<ListBean> list;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(int totalElements) {
        this.totalElements = totalElements;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 3
         * orderId : 2
         * replyContent : null
         * content : 在哪里？
         * replyUser : 0
         * status : 0
         * replyFloor : 0
         * createTime : 2017-05-03 16:10:43
         * updateTime : 2017-05-03 16:10:43
         * createUserId : 5
         * createUsername : wz14937989564121697
         * updateUserId : 5
         * updateUsername : wz14937989564121697
         * realName : WH
         * avatar : 8
         */

        private int id;
        private int orderId;
        private String replyContent;
        private String content;
        private int replyUser;
        private int status;
        private int replyFloor;
        private String createTime;
        private String updateTime;
        private int createUserId;
        private String createUsername;
        private int updateUserId;
        private String updateUsername;
        private String realName;
        private int avatar;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public String getReplyContent() {
            return replyContent;
        }

        public void setReplyContent(String replyContent) {
            this.replyContent = replyContent;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getReplyUser() {
            return replyUser;
        }

        public void setReplyUser(int replyUser) {
            this.replyUser = replyUser;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getReplyFloor() {
            return replyFloor;
        }

        public void setReplyFloor(int replyFloor) {
            this.replyFloor = replyFloor;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateUsername() {
            return createUsername;
        }

        public void setCreateUsername(String createUsername) {
            this.createUsername = createUsername;
        }

        public int getUpdateUserId() {
            return updateUserId;
        }

        public void setUpdateUserId(int updateUserId) {
            this.updateUserId = updateUserId;
        }

        public String getUpdateUsername() {
            return updateUsername;
        }

        public void setUpdateUsername(String updateUsername) {
            this.updateUsername = updateUsername;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public int getAvatar() {
            return avatar;
        }

        public void setAvatar(int avatar) {
            this.avatar = avatar;
        }
    }
}
